package com.ruoyi.sales.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
* 入库对象 zc_store_enter
*
* @author woo
* @date 2024-04-11
*/
@TableName("zc_store_enter")
public class ZcStoreEnter implements Serializable
{
private static final long serialVersionUID = 1L;

/** 入库单id */
@TableId(value = "enter_id",type = IdType.AUTO)
private Long enterId;

/** 虚拟仓库表id */
private Long virtuallyId;

/** 产品id */
@Excel(name = "产品id")
private Long productId;

private Long storeId;

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /** 米数 */
    @Excel(name = "米数")
    private String meters;

/** 入库人id */
@Excel(name = "入库人id")
private Long staffId;

/** 入库时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date enterTime;

/** 入库审核状态 */
@Excel(name = "入库审核状态")
private Long enterStatus;

/** 逻辑删除 */
private Long del;

    //入库name
    @TableField(exist = false)
    private String staffName;

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setEnterId(Long enterId)
{
this.enterId = enterId;
}

public Long getEnterId()
{
return enterId;
}
public void setVirtuallyId(Long virtuallyId)
{
this.virtuallyId = virtuallyId;
}

public Long getVirtuallyId()
{
return virtuallyId;
}
public void setProductId(Long productId)
{
this.productId = productId;
}

public Long getProductId()
{
return productId;
}
public void setStaffId(Long staffId)
{
this.staffId = staffId;
}

    public void setMeters(String meters)
    {
        this.meters = meters;
    }

    public String getMeters()
    {
        return meters;
    }

public Long getStaffId()
{
return staffId;
}
public void setEnterTime(Date enterTime)
{
this.enterTime = enterTime;
}

public Date getEnterTime()
{
return enterTime;
}
public void setEnterStatus(Long enterStatus)
{
this.enterStatus = enterStatus;
}

public Long getEnterStatus()
{
return enterStatus;
}
public void setDel(Long del)
{
this.del = del;
}

public Long getDel()
{
return del;
}

@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("enterId", getEnterId())
.append("virtuallyId", getVirtuallyId())
.append("productId", getProductId())
.append("storeId", getStoreId())
.append("meters", getMeters())
.append("staffId", getStaffId())
.append("enterTime", getEnterTime())
.append("enterStatus", getEnterStatus())
.append("remark", getRemark())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("del", getDel())
.toString();
}
}